﻿using System;
using System.Collections.Generic;

namespace BaMusaSoft.RPS.DataModel
{
    [Serializable]
    public class Property
    {
        public Property()
        {
            this.ClaimDetails = new HashSet<ClaimDetail>();
            this.Contracts = new HashSet<Contract>();
        }

        public string PropertyNo { get; set; }
        public string Type { get; set; }
        public string Description { get; set; }
        public string Location { get; set; }
        public string District { get; set; }

        public ICollection<ClaimDetail> ClaimDetails { get; set; }
        public ICollection<Contract> Contracts { get; set; }
    }
}